package com.mf.entity.req.basic;

import java.io.Serial;

import com.mf.groups.GroupsUpdateInterface;
import com.mf.groups.GroupsAddInterface;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Null;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.util.List;

import lombok.Data;

/**
 * 权限角色关联关系提交
 */
@Data
public class ReqUserRole implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "用户id")
    @NotEmpty(message = "用户id不能为空")
    private List<Integer> userIds;

    @Schema(description = "角色id")
    @NotNull(message = "角色id不能为空")
    private Integer roleId;
}
